import request from "../utils/request.js";

const baseUrl = "/survey/app";
//1、首页巡游车信息
export function xycHomeManage(data) {
    return request({
        // url: '/survey/app/indexxyc/manage',
        url: baseUrl + "/mobilescenarios/indexxyc/manage",
        method: "post",
        data,
    });
}

//1、首页巡游车信息
export function wycHomeManage(data) {
    return request({
        url: baseUrl + "/mobilescenarios/indexwyc/manage",
        method: "post",
        data,
    });
}

/**
 * 巡游车
 */

//巡游车；运营指标
export function targetxycManage(data) {
    return request({
        url: baseUrl + "/mobilescenarios/targetxyc/manage",
        method: "post",
        data,
    });
}
//巡游车：客运量
export function passxycManage(data) {
    return request({
        url: baseUrl + "/mobilescenarios/passxyc/manage",
        method: "post",
        data,
    });
}

//巡游车：在线车数
export function onlinexycManage(data) {
    return request({
        url: baseUrl + "/mobilescenarios/onlinexyc/manage",
        method: "post",
        data,
    });
}
//巡游车：活跃车数
export function activexycManage(data) {
    return request({
        url: baseUrl + "/mobilescenarios/activexyc/manage",
        method: "post",
        data,
    });
}

/**
 * 网约车
 */

//网约车；1、网约车平台信息列表
export function wycplatManage(data) {
    return request({
        url: baseUrl + "/mobilescenarios/wycplat/manage",
        method: "post",
        data,
    });
}

//2、网约车客运量详情
export function passwycManage(data) {
    return request({
        url: baseUrl + "/mobilescenarios/passwyc/manage",
        method: "post",
        data,
    });
}
//3、网约车活跃车数
export function activewycManage(data) {
    return request({
        url: baseUrl + "/mobilescenarios/activewyc/manage",
        method: "post",
        data,
    });
}

//4、网约车合规情况
export function onlinexWycManage(data) {
    return request({
        url: baseUrl + "/mobilescenarios/compliancewyc/manage",
        method: "post",
        data,
    });
}

//5、网约车运营指标
export function targetwycManage(data) {
    return request({
        url: baseUrl + "/mobilescenarios/targetwyc/manage",
        method: "post",
        data,
    });
}

/**
 * 场站信息
 */

//巡游车场站信息
export function stationXycManage(data) {
    return request({
        url: baseUrl + "/mobilescenarios/stationxyc/manage",
        method: "post",
        data,
    });
}
//网约车场站信息
export function stationWycManage(data) {
    return request({
        url: baseUrl + "/mobilescenarios/stationwyc/manage",
        method: "post",
        data,
    });
}

//场站总体信息
export function stationManage(data) {
    return request({
        url: baseUrl + "/mobilescenarios/station/manage",
        method: "post",
        data,
    });
}

//4、出行结构
export function stationCxjgManage(data) {
    return request({
        url: baseUrl + "/mobilescenarios/travelstructure/manage",
        method: "post",
        data,
    });
}

/**
 * 查询
 */
//1、驾驶员信息查询
export function driverinfoManage(data) {
    return request({
        url: baseUrl + "/mobilescenarios/driverinfo/manage",
        method: "post",
        data,
    });
}

//2、车辆信息查询
export function stationvehicleinfoManage(data) {
    return request({
        url: baseUrl + "/mobilescenarios/vehicleinfo/manage",
        method: "post",
        data,
    });
}

//3、公司信息查询
export function mobilescenariosPlatinfoManage(data) {
    return request({
        url: baseUrl + "/mobilescenarios/platinfo/manage",
        method: "post",
        data,
    });
}
//4、公司信息详情
export function mobilescenariosPlatinfoDetail(data) {
    return request({
        url: baseUrl + "/mobilescenarios/platinfo/detail",
        method: "post",
        data,
    });
}

//区域信息查询
export function districtQueryByCode(data) {
    return request({
        url: baseUrl + "/mobilescenarios/district/queryByCode",
        method: "post",
        data,
    });
}
/**
 * 视频
 */
export function getVideoList(data) {
    return request({
        url: baseUrl + "/mobilescenarios/video/queryByCode",
        method: "post",
        data,
    });
}
